package request

type TmallServicecenterSettlementStoretransferAuditRequest struct {
	/*
	   审批通过 defalutValue��true    */
	AuditPass *bool `json:"audit_pass,omitempty" required:"false" `
	/*
	   工单id     */
	WorkcardId *int64 `json:"workcard_id" required:"true" `
}

func (s *TmallServicecenterSettlementStoretransferAuditRequest) SetAuditPass(v bool) *TmallServicecenterSettlementStoretransferAuditRequest {
	s.AuditPass = &v
	return s
}
func (s *TmallServicecenterSettlementStoretransferAuditRequest) SetWorkcardId(v int64) *TmallServicecenterSettlementStoretransferAuditRequest {
	s.WorkcardId = &v
	return s
}

func (req *TmallServicecenterSettlementStoretransferAuditRequest) ToMap() map[string]interface{} {
	paramMap := make(map[string]interface{})
	if req.AuditPass != nil {
		paramMap["audit_pass"] = *req.AuditPass
	}
	if req.WorkcardId != nil {
		paramMap["workcard_id"] = *req.WorkcardId
	}
	return paramMap
}

func (req *TmallServicecenterSettlementStoretransferAuditRequest) ToFileMap() map[string]interface{} {
	fileMap := make(map[string]interface{})
	return fileMap
}
